import BaseController from "../../cfw/mvc/BaseController";
import ModuleManager, { ModuleID } from "../../cfw/module/ModuleManager";
import { UIIndex } from "../../cfw/tools/Define";


const { ccclass, property } = cc._decorator;

@ccclass
export default class FloatC extends BaseController {

    private static ins: FloatC;

    static instance() {
        if (!this.ins) {
            this.ins = new FloatC()
        }
        return this.ins;
    }

    intoLayer() {
        this.pushView('prefabs/float/FloatView', 'FloatView', null, ModuleManager.getLoader(ModuleID.PUBLIC), UIIndex.TOP)
    }


}
